package fr.p10.miage.gestionabsence.form;

import fr.p10.miage.gestionabsence.model.EmailValidateur;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author Sofian Seid
 */
public class AbsenceNoteActionForm extends org.apache.struts.action.ActionForm {
    
   private int etudiantId;
   private int agendaId ;
   private String agendaSalle;
   private String heureDebut;
   private String heureFin;

    public int getAgendaId() {
        return agendaId;
    }

    public void setAgendaId(int agendaId) {
        this.agendaId = agendaId;
    }

    public String getAgendaSalle() {
        return agendaSalle;
    }

    public void setAgendaSalle(String agendaSalle) {
        this.agendaSalle = agendaSalle;
    }

    public int getEtudiantId() {
        return etudiantId;
    }

    public void setEtudiantId(int etudiantId) {
        this.etudiantId = etudiantId;
    }

    public String getHeureDebut() {
        return heureDebut;
    }

    public void setHeureDebut(String heureDebut) {
        this.heureDebut = heureDebut;
    }

    public String getHeureFin() {
        return heureFin;
    }

    public void setHeureFin(String heureFin) {
        this.heureFin = heureFin;
    }
    
    
    /**
     *
     */
    
    
    
    public AbsenceNoteActionForm() {
        super();
        // TODO Auto-generated constructor stub
    }

    
    /**
     * This is the action called from the Struts framework.
     *
     * @param mapping The ActionMapping used to select this instance.
     * @param request The HTTP Request we are processing.
     * @return
     */
    @Override
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
             
        ActionErrors errors = new ActionErrors();
       
        return errors;
    }
}